<?php
   class Category extends MY_Controller{
	   public function __construct(){
		   parent::__construct();
		   $this->load->model("model_category");
	   }
	   public function index(){	
	   	  $id = 52;
	   	  $data['support'] 	= $this->support();
		  $data['access'] 		= $this->access();
		  $data['online'] 		= $this->online();
		  $data['config'] 		= $this->config();
		  $data['customer'] 	= $this->customer();
		  $data['result'] 		= $this->model_category->getdata($id);
		  $data['listcate'] 	= $this->model_category->listall($id);
		  $data['eq'] 			= "10";
		  $data['topeq'] 			= "0";
		  $data['link'] 			= $this->uri->segment(1);
		  $data['image'] 	= "design.png";
		  $data['title'] = "Thiết kế website";
		  $data['cate_title'] = "Các gói thiết kế website của North Star";
		  $this->load->view("category/website/layout",$data);
	   }
	   public function logo(){	
	   	  $id = 88;
	   	  $data['support'] 	= $this->support();
		  $data['access'] 		= $this->access();
		  $data['online'] 		= $this->online();
		  $data['config'] 		= $this->config();
		  $data['customer'] 	= $this->customer();
		  $data['result'] 		= $this->model_category->getdata($id);
		  $data['listcate'] 	= $this->model_category->listall($id);
		  $data['eq'] 			= "10";
		  $data['topeq'] 			= "10";
		  $data['link'] 			= $this->uri->segment(1);
		  $data['image'] 	= "design.png";
		  $data['title'] = "Thiết kế logo công ty";
		  $data['cate_title'] = "Thiết kế logo";
		  $this->load->view("category/website/layout",$data);
	   }
	   public function seoweb(){	
	   	  $id = 124;
	   	  $data['support'] 	= $this->support();
		  $data['access'] 		= $this->access();
		  $data['online'] 		= $this->online();
		  $data['config'] 		= $this->config();
		  $data['customer'] 	= $this->customer();
		  $data['result'] 		= $this->model_category->getdata($id);
		  $data['listcate'] 	= $this->model_category->listall($id);
		  $data['eq'] 			= "10";
		  $data['topeq'] 			= "10";
		  $data['link'] 			= $this->uri->segment(1);
		  $data['image'] 	= "design.png";
		  $data['title'] = "Quảng bá website";
		  $data['cate_title'] = "Quảng bá website";
		  $this->load->view("category/website/layout",$data);
	   }
	   public function domain(){	
	   	  $id = 126;
	   	  $data['support'] 	= $this->support();
		  $data['access'] 		= $this->access();
		  $data['online'] 		= $this->online();
		  $data['config'] 		= $this->config();
		  $data['customer'] 	= $this->customer();
		  $data['result'] 		= $this->model_category->getdata($id);
		  $data['listcate'] 	= $this->model_category->listall($id);
		  $data['eq'] 			= "10";
		  $data['topeq'] 			= "10";
		  $data['link'] 			= $this->uri->segment(1);
		  $data['image'] 	= "design.png";
		  $data['title'] = "Domain &amp; hosting";
		  $data['cate_title'] = "Domain &amp; hosting";
		  $this->load->view("category/website/layout",$data);
	   }
	   public function software(){	
	   	  $id = 127;
	   	  $data['support'] 	= $this->support();
		  $data['access'] 		= $this->access();
		  $data['online'] 		= $this->online();
		  $data['config'] 		= $this->config();
		  $data['customer'] 	= $this->customer();
		  $data['result'] 		= $this->model_category->getdata($id);
		  $data['listcate'] 	= $this->model_category->listall($id);
		  $data['eq'] 			= "10";
		  $data['topeq'] 			= "10";
		  $data['link'] 			= $this->uri->segment(1);
		  $data['image'] 	= "design.png";
		  $data['title'] = "Xây dựng phần mềm";
		  $data['cate_title'] = "Xây dựng phần mềm";
		  $this->load->view("category/website/layout",$data);
	   }
   }